import ActionTypes from "../action";

const MerchantColum = [{
    label: "商户姓名",
    prop: "merchantName",
    overHidden: true,
  },
  {
    label: "手机号",
    prop: "mobile",
    overHidden: true,
  },
  {
    label: "身份证号码",
    prop: "idCode",
    overHidden: true,
  },
  {
    label: "省份",
    prop: "province",
  },
  {
    label: "城市",
    prop: "city",
  },
  {
    label: "具体地址",
    prop: "address",
    overHidden: true,
  },
  {
    label: "创建时间",
    prop: "gmtCreated",
  },
];

export default {
  // 商户列表
  [ActionTypes.MERCHANT_LIST]: MerchantColum,
  [ActionTypes.MERCHANT_AUDIT_LIST]: MerchantColum,
  [ActionTypes.MERCHANT_COMMENT_LIST]: [{
      label: "用户姓名",
      prop: "contact",
    },
    {
      label: "评价星级",
      prop: "num",
      solt: true,
    },
    {
      label: "评价内容",
      prop: "body",
      overHidden: true,
    },
    {
      label: "商户姓名",
      prop: "merchantName",
    },
    {
      label: "评价时间",
      prop: "gmtCreated",
    },
  ],
};